package com.systemCapacity.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("device")
public class Device implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "deviceId")
    private String deviceId;

    private String deviceName;

    private Date createDate;
    private Date updateDate;

    private Double weight;
}
